package com.ruoyi.web.controller.vantController;

import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.system.domain.Enter;
import com.ruoyi.system.service.IEnterService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
@RequestMapping("/api/system/enter")
public class ApiEnterController extends BaseController {

    @Autowired
    private IEnterService enterService;

    /**
     * 查询【请填写功能名称】列表
     */
    @GetMapping("/list")
    public List<Enter> list(Enter enter)
    {
        List<Enter> list = enterService.selectEnterList(enter);
        return list;
    }
}
